CMP#.DIR
Description
CMP#.DIR sets the direction the source value must change through the setpointSetpoint is the target value that an automatic control system, for example PID controller, will aim to reach start value in order to satisfy the comparison and set the digital output.
It takes two command line arguments: the first specifies the setpoint, and the second specifies the direction.
Examples
Usage
1: Increasing direction, positive velocity
2: Decreasing direction, negative velocity
3: Both directions (default)
Code
The following commands set increasing direction for setpoint 3 of channel 1, and both directions for setpoint 6 of channel 2.
--> CMP1.DIR 3 1
--> CMP2.DIR 6 3
Context
For more information please refer to Compare.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-06-00-000 |
General Information
Type |
Read/Write |
Units |
N/A |
Range |
1 to 3 |
Default Value |
3 |
Data Type |
Integer |
See Also |
|
Stored in Non Volatile Memory |
Yes |
Variants Supported
All variants are supported.